
# ---------- macro extend ------------ #
ifeq ($(LOCAL_REPO_PATHS),)
repo-not-paths:
	@echo "repo-not-paths: $(LOCAL_REPO_PATHS)"
else
repo-echo-paths:
	@echo "repo-echo-paths: $(LOCAL_REPO_PATHS)"
endif

# 引入默认的 repo.mk 进行扩展 repo 的相关操作
include build-scripts/repo.mk

# 引入默认的 macro.mk 进行扩展 macro 的相关操作
include build-scripts/macro.mk

# ------------- LOCAL_REPO_PATHS ------------- #
ifneq ($(LOCAL_REPO_PROJECTS),)
$(foreach n,$(LOCAL_REPO_PROJECTS),$(eval $(call macro-target,$(n),z-tools-)))
else
PROJECTS=$(shell repo list -p)
$(foreach n,$(PROJECTS),$(eval $(call macro-target,$(n),z-tools-)))
endif

